home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11071 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: admaix.sunydutchess.edu!ub!newserve!rebecca!rpi!not-for-mail
  2. From: ell@access4.digex.net (Ell)
  3. Newsgroups: comp.lang.c++.moderated,comp.object,comp.lang.c++
  4. Subject: Re: how many classes are too much? trying to follow Robert Martin's advice
  5. Date: 12 Mar 1996 13:53:18 -0000
  6. Organization: The Universe
  7. Sender: cppmods@netlab.cs.rpi.edu
  8. Approved: devitto@ferndown.ate.slb.com
  9. Message-ID: <4i3vke$jb4@netlab.cs.rpi.edu>
  10. References: <4hn86s$im4@netlab.cs.rpi.edu> <4i1fim$bm5@netlab.cs.rpi.edu>
  11. NNTP-Posting-Host: netlab.cs.rpi.edu
  12. X-Original-Date: 12 Mar 1996 04:05:42 GMT
  13.  
  14. Robert C. Martin (rmartin@oma.com) wrote:
  15. :...
  16. : Certainly there are costs.  You have named them.  Your design is
  17. : getting more complicated.  (Interesting isn't it.  When the design
  18. : becomes more complex, the code gets simpler.  Complex problems require
  19. : complex expressions.)  Your makefiles are more complex.  You need some
  20. : way to manage all the source files.
  21. : Now ask yourself if there is a net gain.  Is the system overall easier
  22. : to deal with?  
  23.  
  24. In most cases where the complexity of a C++, or other oopl, project has
  25. been previously addressed, the solution can be made into a library -
  26. static or dynamic - which subsequent programmers can use with less
  27. complexity.  This is a major part of the component and object reuse
  28. motivation.  So that the design of similar future projects in the domain
  29. are not generally as visibly (code weight wise) complex.
  30.  
  31. Elliott
  32.  
  33.       [ Articles to moderate: mailto:c++-submit@netlab.cs.rpi.edu ]
  34.       [  Read the C++ FAQ: http://www.connobj.com/cpp/cppfaq.htm  ]
  35.       [  Moderation policy: http://www.connobj.com/cpp/guide.htm  ]
  36.       [      Comments? mailto:c++-request@netlab.cs.rpi.edu       ]
  37.